/**
 * @FileName Product.java
 * @Package builder
 * -------------------------------------
 * @function Please write description of function
 * @Date 2016-1-5 下午3:44:17
 * -------------------------------------
 * Copyright (c) 2016,顾博君 All Rights Reserved.
 */
package com.designMode.builder;

/**
 * @author 顾博君
 * @ClassName Product
 * @Date 2016-1-5 下午3:44:17
 * @Function 产品类
 */
public class Product {
    /**
     * 产品信息
     */
    private String info = "";

    /**
     * 添加信息
     *
     * @param part 功能
     */
    public void addPart(String part) {
        info += part + ";";
    }

    public void doSomething() {
        // 独立业务处理
        System.out.println("Product 我的功能：" + info);
    }
}
